<script setup lang="ts">
  // This starter template is using Vue 3 <script setup> SFCs
  // Check out https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup
  import AppLocale from '@/components/common/app/AppLocale.vue';
  import LayoutHeader from '@/components/layout/header/LayoutHeader.vue';
</script>

<template>
  <AppLocale>
    <LayoutHeader v-if="!$route.meta.hiddenHeaderMenu" />
    <RouterView v-slot="{ Component, route }">
      <KeepAlive>
        <Component :is="Component" :key="route.fullPath" />
      </KeepAlive>
    </RouterView>
  </AppLocale>
</template>

<style></style>
